package com.lanp.gencode.apifox.model;

import com.alibaba.fastjson.PropertyNamingStrategy;
import com.alibaba.fastjson.annotation.JSONType;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@Data
@NoArgsConstructor
@JSONType(naming = PropertyNamingStrategy.SnakeCase)
@JsonNaming(com.fasterxml.jackson.databind.PropertyNamingStrategy.SnakeCaseStrategy.class)
public class WarehouseLocalFreightRuleItemPo {
    /** 
 	 * 规则明细id
	 */
    private Long ruleItemId;

    /** 
 	 * 同城物流规则id
	 */
    private Long localFreightRuleId;

    /** 
 	 * 规则类型 1=阶梯距离;
	 */
    private Short itemType;

    /** 
 	 * 满足多少 KG/KM/元
	 */
    private BigDecimal satisfy;

    /** 
 	 * 每 KG/KM/减免 元
	 */
    private BigDecimal everyPrice;

    /** 
 	 * 是否有效 1=有效 0=已删除
	 */
    private Boolean available;

    /**
     * 日志列表
     */
    private List<WarehouseLocalFreightRuleLogPo> logList;
}